package edu.ut.ece382c.valloy.translator.engine;

import java.io.File;

import edu.ut.ece382c.valloy.converter.Converter;

public class StringTranslator extends Translator {

	public StringTranslator (){
		
	}
	
	public String TranslateModule(File module) throws Exception {
		Converter parser = new Converter(module.getPath());
		String out = "";
		out += (parser.classes() + "\n");
		out += (parser.functions() + "\n");
		out += (parser.predicates() + "\n");
		out += (parser.everythingElse() + "\n");
		return out;
	}

}
